package cn.hd01.web.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import cn.hd01.web.auth.Auth;

@Controller
@RequestMapping("/report")
@Auth
public class ReportController {
	
	@RequestMapping(path = "/dayPayment", method = RequestMethod.GET)
	public String index(Model m, HttpServletRequest request) {
		return "dayPayment";
	}

	@ResponseBody
	@RequestMapping(path = "/dayPayment/list", method = RequestMethod.GET)
	public String dayPaymentList(Model m, HttpServletRequest request) {
		return "dayPayment";
	}
}
